package com.alks.function.data.vo.finance.ryfinance;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.alks.common.utils.excelUtils.nestExcel.annotation.NestExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author: chen
 * @date: 2024/11/21
 * @description: 结算资料VO
 */
@Data
@ApiModel(value = "结算资料VO")
public class ApAmtHeadVO {

    @NestExcelProperty(name = "公司组别")
    private String companyId;

    @NestExcelProperty(name = "单据号码")
    private String slipNo;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @NestExcelProperty(name = "结算日期")
    private LocalDateTime slipDate;

    @NestExcelProperty(name = "厂商代码")
    private String vendorNo;

    @NestExcelProperty(name = "厂商名称")
    private String vendorName;

    @NestExcelProperty(name = "结算月份")
    private String financeYymm;

    @NumberFormat
    @NestExcelProperty(name = "金额")
    private BigDecimal amt;

    @NestExcelProperty(name = "结算方式")
    private String accountName;

    @NestExcelProperty(name = "检核标记")
    private String cfmFlag;

    @NestExcelProperty(name = "仓管员")
    private String sysUser;

}
